package com.lujianfei.switchtheme

import android.app.Application
import android.util.Log
import com.lujianfei.switchtheme.utils.SkinManager
import kotlin.properties.Delegates

class MyApplication: Application() {
    companion object {
        var INSTANCE:MyApplication by Delegates.notNull()
    }

    override fun onCreate() {
        super.onCreate()
        INSTANCE = this
        SkinManager.INSTANCE.initManager(this)
        Log.d("Application==","MyApplication onCreate")
    }
}